unit hyklxdeal;

interface

uses
  Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
  Vcl.Controls, Vcl.Forms, Vcl.Dialogs, dxdbtrel, Vcl.StdCtrls, Vcl.DBCtrls,
  Vcl.Mask;

type
  Tfrmhyklxdeal = class(TForm)
    lbl1: TLabel;
    dbedtname: TDBEdit;
    lbl2: TLabel;
    lbl3: TLabel;
    lbl4: TLabel;
    dbedtxsdj: TDBEdit;
    dblkcbbtclx: TDBLookupComboBox;
    lbl6: TLabel;
    lbl7: TLabel;
    dbedttcxs: TDBEdit;
    dbmmobz: TDBMemo;
    lbl8: TLabel;
    btn1: TButton;
    btnsave: TButton;
    dbedtname1: TDBEdit;
    dbchksfcz: TDBCheckBox;
    dbedtdj: TDBEdit;
    procedure btnsaveClick(Sender: TObject);
    procedure btn1Click(Sender: TObject);
    procedure FormShow(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  frmhyklxdeal: Tfrmhyklxdeal;

implementation
uses
  dm,MyUtility;

{$R *.dfm}

procedure Tfrmhyklxdeal.btn1Click(Sender: TObject);
begin
  close;
end;

procedure Tfrmhyklxdeal.btnsaveClick(Sender: TObject);
begin
  DataModule1.unihyklx.FieldByName('zjm').AsString:=chntopy(Trim(dbedtname.text));
  close;
end;

procedure Tfrmhyklxdeal.FormShow(Sender: TObject);
begin
  with DataModule1 do
  begin
    unitclx.Active:=true;
  end;
end;

end.
